﻿
#if !(UNITY_STANDALONE_WIN || UNITY_STANDALONE_LINUX || UNITY_STANDALONE_OSX || STEAMWORKS_WIN || STEAMWORKS_LIN_OSX)
#define DISABLESTEAMWORKS
#endif
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class BattleLevel3 : BattleLevel
{
    public Ship Brother;
    private void Awake()
    {
    }
    public override void OnSucceed()
    {
        base.OnSucceed();
#if !DISABLESTEAMWORKS
        if (Brother && UtilsGame.IsSteamMG())
        {
            Steamworks.SteamUserStats.SetStat("BACK_HOME_GET_MARRIED", 1);
            Steamworks.SteamUserStats.SetAchievement("BACK_HOME_GET_MARRIED");
            Steamworks.SteamUserStats.StoreStats();
        }
#endif
    }
}
